package day3.Thread;

public class Test {
    public static void main(String[] args) {
        MyThread myThread = new MyThread() {
            @Override
            public void run() {
                System.out.println("重写run方法");
            }
        };
        myThread.test();
        myThread.run();
    }
}
